package _2工具类及DAO;

import java.sql.SQLException;
import java.util.List;

public interface ICategoryDAO 
{
	// 澧炲姞
	int insert(Category c) throws SQLException ;
	// 鏍规嵁缂栧彿鍒犻櫎
	int deleteById(int cid) throws SQLException ;
	// 淇敼
	int update(Category c) throws SQLException ;
	// 鏍规嵁缂栧彿鏌ヨ
	Category findById(int cid) throws SQLException ;
	// 鏌ヨ鎵�鏈�
	List<Category> findAll() throws SQLException ;
}